<?php

class Organization {
	public $id;
	public $name;
	public $type;
	public $des;
    public $inventory;//array
	public $authorized;
	public $transactions;
	public function __construct($id,$name,$type,$des)  
    {
    	
	$this->id=$id;
	$this->name=$name;
	$this->type=$type;
	$this->des=$des;
	$this->inventory=array();//array
	$this->authorized=array();
		
	}
	

    public function setAuthorized($authorized){
	    	$this->authorized=$authorized;
	}
		
	 public function getAuthorized(){
	    	return $this->authorized;
	 }
	
    public function setInventory($inv)
	{
	   $this->inventory=$inv;	
    }
	public function getInventory(){
		return $this->inventory;
    }
	 public function setTransactions($trans)
	{
	   $this->transactions=$trans;	
    }
	public function getTransactions(){
		return $this->transactions;
    }
}

?>